package com.hoolai.qps.codes.netty;

import org.jboss.netty.buffer.ChannelBuffer;

public class ClientMsg {

    private int cmdId;

    private ChannelBuffer channelBuffer;

    public int getCmdId() {
        return cmdId;
    }

    public void setCmdId(int cmdId) {
        this.cmdId = cmdId;
    }


    public ClientMsg(int cmdId, ChannelBuffer channelBuffer) {
        super();
        this.cmdId = cmdId;
        this.channelBuffer = channelBuffer;
    }

    public ChannelBuffer getChannelBuffer() {
        return channelBuffer;
    }

    public void setChannelBuffer(ChannelBuffer channelBuffer) {
        this.channelBuffer = channelBuffer;
    }
}
